package com.legal.app.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author Ale
 * @description 头像配置类
 * @date 2025/6/24 9:52
 */
@Configuration
@ConfigurationProperties(prefix = "avatar")
public class AvatarConfig {
    private String uploadDir;

    // Getter and Setter
    public String getUploadDir() {
        return uploadDir;
    }

    public void setUploadDir(String uploadDir) {
        this.uploadDir = uploadDir;
    }
}
